<html lang="zh-CN">

<head>
    <title>一田一墅-精品民宿|度假别墅|庄园酒店|团建聚会|年会场地|旅游度假|家庭亲子|聚会轰趴|会议拓展|周边游</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge，chrome=1">
    <script src="static/js/jsstracker.min.js"></script>
    <script src="static/js/initstacker.js"></script>
    <script src="static/js/jquery.js"></script>
    <meta name="keywords" content="一田一墅，民宿预订，短租房，日租民宿，短租民宿，酒店公寓，度假别墅，团建预订，民宿">
    <meta name="description"
        content="一田一墅是精品民宿/度假庄园/酒店/别墅预订平台,提供免费试睡、特价房券、超值套餐、团队服务（聚会/生日/轰趴/团建的优质场地推荐和活动策划）等服务.包含全国3000多家美宿,为追求品质生活的你精心打造。">
    <link href="static/css/index-20190916163855.css" rel="stylesheet" position="2">
</head>
<style>
    body {
        font-weight: normal;
    }

    .ipc:hover {
        text-decoration: underline;
        color: #f60;
    }

 /* TODO: 临时处理 */
    .desc-address {
        position: relative;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        width: 100%;
        display: inline-block;
    }
</style>
<!-- <script>Vue.config.devtools =true;</script> -->
<!-- talkingdata  -->
<script src="https://jic.talkingdata.com/app/h5/v1?appid=B49FD1DFF9DE4DF7ADDC5D73C7794300&vn=pc&vc=1.0" async="async">
</script>
<script src="static/js/common-20190912851102.js"></script>

<body>
    <div id="vueDiv">
        <div id="header" class="header-white">
            <div class="header-content">
                <a href=""><span class="general_icon_logo" title="一田一墅"></span></a>
                <div class="header-content-r">
                    <div class="download">
                        <i class="general_icon_download"></i>下载APP
                        <div class="qrcode_download_top">
                            <i class="icon-triangle1"></i>
                            <i class="icon-triangle2"></i>
                            <img src="static/picture/general_image_download.png" alt="">
                        </div>
                    </div>
                    <!-- 未登录 -->
                    <div class="header-login">
                        <div class="not-login">
                            <div class="login"><a href="../登录页面/index.html">登录</a></div>
                            <div class="icon-sep"></div>
                            <div class="register">注册</div>
                        </div>
                        <!-- 已登录状态显示用户头像 -->
                        <div class="is-login">
                            <img src="static/picture/lazy.png" alt="" class="login-user-avatar">
                            <div class="nav-menu">
                                <a class="nav-menu-item" href="javascript:;">我的订单</a>
                                <a class="nav-menu-item" href="javascript:;">我的房劵</a>
                                <a class="nav-menu-item logout-btn">退出登录</a>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="header-navlist">
                    <a class="header-nav" href="./index.html" data-page="index">首页</a>
                    <a class="header-nav nav-new" href="javascript:;" data-page="super">超值套餐</a>
                    <a class="header-nav nav-new" href="javascript:;" data-page="team">团建套餐</a>
                    <a class="header-nav" href="javascript:;" data-page="article">美宿杂志</a>
                </div>
            </div>
        </div>
    
        <div id="banner-swipe">
            <a href="javascript:;">
                <div class="banner-swipe-item"
                    data-original="http://img2.yitianyishu.com/18-4-27/22072728.jpg?imageView2/2/w/1920/h/620/interlace/0/q/100">
                </div>
            </a>
            <a href="javascript:;">
                <div class="banner-swipe-item"
                    data-original="http://img2.yitianyishu.com/18-4-11/41062890.jpg?imageView2/2/w/1920/h/620/interlace/0/q/100">
                </div>
            </a>
            <a href="javascript:;">
                <div class="banner-swipe-item"
                    data-original="http://img2.yitianyishu.com/18-4-9/55574119.jpg?imageView2/2/w/1920/h/620/interlace/0/q/100">
                </div>
            </a>
            <a href="javascript:;">
                <div class="banner-swipe-item"
                    data-original="http://img2.yitianyishu.com/18-3-22/17435627.jpg?imageView2/2/w/1920/h/620/interlace/0/q/100">
                </div>
            </a>
            <a href="javascript:;">
                <div class="banner-swipe-item"
                    data-original="http://img2.yitianyishu.com/18-3-24/79817894.jpg?imageView2/2/w/1920/h/620/interlace/0/q/100">
                </div>
            </a>
            <div class="banner-go-left">
                <div class="switch-wrap">
                    <i class="switch-left"></i>
                    <i class="switch-left-hover"></i>
                </div>
            </div>
            <div class="banner-go-right">
                <div class="switch-wrap">
                    <i class="switch-right"></i>
                    <i class="switch-right-hover"></i>
                </div>
            </div>
            <div class="search-wrap layout-center" v-cloak="">
                <div class="search-input-w" id="search">
                    <!-- <div class="hotlist">
                        <div class="hot-li-tit">热门城市： </div>
                        <div class="hot-li" v-for="(v,index) in hotCityList" v-show="index<10" @click="goCity(v)" :title="v.city_name">{{v.city_name}}</div>
                    </div> -->
                    <div class="search-input-in">
                        <i class="home_icon_destination"></i>
                        <input class="search-input" type="text" placeholder="城市/地址/民宿/酒店/关键词" v-model="searchInfo">
                        <div class="search-btn" @click.prevent="searchBtn">搜索</div>
                    </div>
                    <!-- 搜索结果展示 -->
                    <component ></component>
                    <!-- 城市选择栏 -->
                    <component ></component>
                </div>
            </div>
        </div>
    
        <div id="destination" >
            <div class="content-item layout-center" style="margin-top: 50px;">
                <div class="item-title">目的地</div>
                <div class="desc-navlist">
                    <div v-for="cityInfo in cityList" class="desc-nav desc-nav-active" :style="cityInfo.city==cityName?'color:red;':'color:black;'" :title="cityInfo.city">
                        <span @click="chooseCity(cityInfo.city)" class="desc-address">{{cityInfo.city}}</span>
                    </div>
                    <div class="desc-nav-bor"></div>
                </div>
                <div class="desc-content desc-content-active">
                    <a v-for="a in arearInfo" class="desc-box" :href="'../search.html?select='+a.area">
                        <div class="desc-img-w">
                            <div >
                                <img class="desc-img lazyimg-bg" :src="a.imgUrl"/>
                            </div>
                            <div class="desc-box-info">
                                <div class="desc-box-tit">{{a.area}}</div>
                                <!-- <div class="desc-box-num">242家美宿</div> -->
                            </div>
                        </div>
                    </a>
                </div>
                <div class="item-con">
                    <a class="btn-lookall" data-dest="" href="javascript:;">查看全部<i class="general_icon_all"></i><i
                            class="home_icon_all_hover"></i></a>
                </div>
            </div>
        </div>
    
        <div id="team">
            <div class="layout-center ovh">
                <a href="javascript:;" class="fl">
                    <img class="team-box lazyimg" src="static/picture/home_image_banner1.png" title="超值套餐" alt="超值套餐">
                </a>
                <a href="javascript:;" class="fr">
                    <img class="team-box lazyimg" src="static/picture/home_image_banner2.png" title="团建套餐" alt="团建套餐">
                </a>
            </div>
        </div>
        <div class="article-container">
            <div class="article-swipe">
                <div class="article-go-left">
                    <div class="switch-wrap">
                        <i class="swich-left"></i>
                        <i class="switch-left-hover"></i>
                    </div>
                </div>
                <div class="article-go-right">
                    <div class="switch-wrap">
                        <i class="switch-right"></i>
                        <i class="switch-right-hover"></i>
                    </div>
                </div>
                <a href="javascript:;" target="__blank">
                    <div class="article-swipe-item lazyimg"
                        data-original="https://img.yitianyishu.com/carousel/carousel/d329219ab600aa060bc0768ec3fab2ff-1920_620.jpg">
                        <div class="article-icon-w">
                            <div class="article-icon"></div>
                        </div>
                        <div class="article-swipe-item-inner">
                            <div class="article-swipe-tit">
                                从前的爱情很慢，慢到一辈子等一个人，慢得一生只够爱一个人 </div>
                            <div class="article-swipe-content">
                                “记得早先少年时 / 大家诚诚恳恳 / 说一句 / 是一句……从前的日色变得慢 / 车，马，邮件都慢 /
                                一生只够爱一个人……”《中国新歌声》的舞台上，19岁的叶炫清以少女不知愁滋味的深情诠释《从前慢》，像小孩子漫不经心说出哲学话，一开口就击中了我的心脉。
                                看视频要“快进”，评论要抢“沙发”，寄件要用特快专递，拍照要立等可取……我们总是风风火火，害怕一个不留神就跟不上这个世界的节奏。微博热搜上再次听到这首歌，第二天立刻驱车前往心心念念的「临安从前·慢」民宿。
                            </div>
                        </div>
                    </div>
                </a>
                <a href="javascript:;" target="__blank">
                    <div class="article-swipe-item lazyimg"
                        data-original="http://img2.yitianyishu.com/18-4-11/44444480.jpg-1920_620.jpg">
                        <div class="article-icon-w">
                            <div class="article-icon"></div>
                        </div>
                        <div class="article-swipe-item-inner">
                            <div class="article-swipe-tit">
                                一愿好姻缘，二愿卿千岁，三愿如同梁上燕，岁岁年年常相见 </div>
                            <div class="article-swipe-content">
                                “世界上有那么多的城市，城市中有那么多的酒馆，而她却偏偏走进了我的”，《卡萨布兰卡》的这句经典台词大抵诠释着：“世间所有相遇，都在诠释一个因果关系”。此番再访灵隐，不是怀着虔诚之心祈愿，而是愉悦地还愿。
                                相携从灵隐寺出来，步行到早早考察预订好的「杭州·拾乐」不过8分钟。沿途紫一团，粉一堆，如叠锦铺霞般，风过处，淡香浓香交迭递送，着实让我们心旷神怡。被树荫、溪水、青山、鸟鸣、茶园、香火萦绕的白乐桥，是卓有名气的民宿聚集地，而我们抵达的这栋山间小别墅，周身围了一圈竹篱笆，院中花木葳蕤，遮阳伞、藤椅、明前龙井还有起身迎接的满庭阳光，顷刻勾起我们度假的心境。
                            </div>
                        </div>
                    </div>
                </a>
            </div>
            <a class="btn-lookall" href="javascript:;">查看全部
                <i class="general_icon_all"></i>
                <i class="home_icon_all_hover"></i>
            </a>
        </div>
    </div>
   
    <script>
        
    </script>
    <script src="static/js/lazyload.min.js"></script>
    <script src="static/js/index-20190918104603.js"></script><!-- 底部栏 -->
    <div class="footer">
        <div class="footer-content">
            <div class="footer-info">
                <div class="wx-img-w wx-server">
                    <div class="wx-name">微信服务号</div>
                    <img src="static/picture/general_image_fuwuhao.png" class="wx-img">
                </div>
                <div class="wx-img-w wx-subscribe">
                    <div class="wx-name">微信订阅号</div>
                    <img src="static/picture/general_image_dingyuehao.png" class="wx-img">
                </div>
                <div class="footer-company-info">
                    <div class="footer-company-item">
                        <div class="footer-company-tit">客服电话：</div>
                        <div class="footer-company-tel">0571-85285660</div>
                    </div>
                    <div class="footer-company-item">
                        <div class="footer-company-tit">广告合作：</div>
                        <div class="footer-company-word"> bd@yitianyishu.com</div>
                    </div>
                    <div class="footer-company-item">
                        <div class="footer-company-tit">地&emsp;&emsp;址：</div>
                        <div class="footer-company-word">杭州市西湖区紫金众创小镇1301-5</div>
                    </div>
                </div>
                <div class="app-lists">
                    <div class="app-item">
                        <img class="app-img" src="static/picture/general_image_qrcode_littleprogr.png">
                        <div class="general_icon_littleprogram app-icon"></div>
                        <div class="general_icon_littleprogram_hover app-icon"></div>
                        <div class="app-name">小程序</div>
                    </div>
                    <div class="app-item">
                        <a href="javascript:;" target="__blank">
                            <div class="general_icon_weibo app-icon"></div>
                            <div class="general_icon_weibo_hover app-icon"></div>
                            <div class="app-name">微博</div>
                        </a>
                    </div>
                    <div class="app-item">
                        <img class="app-img" src="static/picture/general_image_qrcode_download_fo.png">
                        <div class="general_icon_download_footer app-icon" alt="" class="app-icon"></div>
                        <div class="general_icon_download_footer_hover app-icon" alt="" class="app-icon"></div>
                        <div class="app-name">下载APP</div>
                    </div>
                </div>
            </div>
            <div class="company-address">杭州耘耔科技有限公司&emsp;&emsp;
                <a href="javascript:;" target="__blank" class='ipc' title="查看备案号">浙ICP备16047747号</a>
            </div>
        </div>
    </div>
    <div class="stick-right">
        <div class="returntop-btn">
            <i class="home_icon_top"></i>
        </div>
        <div class="server-btn">
            <div class="fd-box-w">
                <div class="fd-box">
                    <div class="fd-wechat">
                        <div class="fd-tit">关注微信公众号</div>
                        <img class="fd-qrcode" src="static/picture/general_image_fuwuhao.png">
                        <div class="fd-word">微信直接预订，更有免费住机会</div>
                    </div>
                    <div class="fd-app">
                        <div class="fd-tit">下载APP</div>
                        <img class="fd-qrcode" src="static/picture/general_image_download.png">
                        <div class="fd-word">APP预订更方便</div>
                    </div>
                </div>
            </div>
            <a class="server-online" href="javascript:;" title="联系客服">
                <i class="home_icon_earphone"></i>
            </a>
            <div class="focus-download" title="关注和下载">
                <i class="home_icon_qrcode"></i>
            </div>
            <!-- <script src='//kefu.easemob.com/webim/easemob.js?tenantId=45774&hide=false&sat=false' async='async'></script> -->
        </div>
    </div>
    <!-- <div id="login">
        <component :is="lazyLogin" :loginshow="loginshow"></component>
    </div> -->
    <div style="display:none">
        <!-- <script src="https://s95.cnzz.com/z_stat.php?id=1261806883&web_id=1261806883" language="JavaScript"
            async="async"></script> -->
    </div>
</body>
<script>
    window.easemobim = window.easemobim || {};
    easemobim.config = {
        hide: true,
        autoConnect: true,
    };
    (function () {
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        }
        else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>
<script src='static/js/easemob.js' async="async"></script>


<script src="../axios.min.js"></script>
<script src="../vue.js"></script>
<script src="../common.js"></script>
<script type="text/javascript">
    var vm = new Vue({
        el: "#vueDiv",
        data: {
            searchInfo:"",
            cityList:[{}],
            arearInfo:[{}],
            cityName:""
        },
        methods: {
            searchBtn(){
                console.log(this.searchInfo);
            },
            chooseCity(cityName){
                this.cityName = cityName;
                var _this = vm;
                var temp;
                _this.arearInfo = _this.cityList;
                _this.arearInfo =[];
                this.cityList.forEach(e => {
                    if(e.city == cityName){
                        temp = e.areaInfo;
                        console.log("temp");
                        console.log(temp);
                    }
                });
                this.arearInfo=this.cityUtils(temp);
                console.log(this.arearInfo);
            },
            jumpSearch(areaInfo){
                window.location.href = "/search.html?select="+areaInfo;
            },
            cityUtils(data){
                var tempArr = [];
                data.forEach((item,index)=>{
                    for(let nam in item){
                        var obj = {};
                        obj.area=nam;
                        obj.imgUrl=item[nam];
                        // console.log(obj);
                        tempArr.push(obj);
                    }
                })
                // console.log(tempArr);
                return tempArr;
            },
            searchBtn(){
                window.location.href = "/search.html?select="+this.searchInfo;
            }
            
        
        },
        created() {
            axios.get("/homestayPortal/city/searchCity").then(res=>{
            	  vm.cityList = res;
                  this.arearInfo = this.cityUtils(res[0].areaInfo);
                  this.cityName = res[0].city;
                  console.log(this.arearInfo);
            })
        },
    });
</script>


</html>